package com.thirdgroup.pojo.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * (OrderInfo)实体类
 *
 * @author makejava
 * @since 2024-05-13 11:00:18
 */
public class OrderInfo implements Serializable {
    private static final long serialVersionUID = -50944833806085564L;
    /**
     * 订单号，自动生成，格式为OyyyyMMddHHmmss
     */
    private String orderid;
    /**
     * 申请人ID（关联客户表）
     */
    private String customerid;
    /**
     * 审批人ID（关联管理员表）
     */
    private String managerid;
    /**
     * 套餐类型
     */
    private Object paymenttype;
    /**
     * 套餐ID
     */
    private String packageid;
    /**
     * 订单状态（参照订单状态表）
     */
    private Object orderstatus;
    /**
     * 创建时间
     */
    private LocalDateTime createtime;
    /**
     * 更新时间
     */
    private LocalDateTime updatetime;
    /**
     * 订单价格
     */
    private Double packagecost;


    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getCustomerid() {
        return customerid;
    }

    public void setCustomerid(String customerid) {
        this.customerid = customerid;
    }

    public String getManagerid() {
        return managerid;
    }

    public void setManagerid(String managerid) {
        this.managerid = managerid;
    }

    public Object getPaymenttype() {
        return paymenttype;
    }

    public void setPaymenttype(Object paymenttype) {
        this.paymenttype = paymenttype;
    }

    public String getPackageid() {
        return packageid;
    }

    public void setPackageid(String packageid) {
        this.packageid = packageid;
    }

    public Object getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(Object orderstatus) {
        this.orderstatus = orderstatus;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public LocalDateTime getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(LocalDateTime updatetime) {
        this.updatetime = updatetime;
    }

    public Double getPackagecost() {
        return packagecost;
    }

    public void setPackagecost(Double packagecost) {
        this.packagecost = packagecost;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "orderid='" + orderid + '\'' +
                ", customerid='" + customerid + '\'' +
                ", managerid='" + managerid + '\'' +
                ", paymenttype=" + paymenttype +
                ", packageid='" + packageid + '\'' +
                ", orderstatus=" + orderstatus +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", packagecost=" + packagecost +
                '}';
    }
}

